package com.twu.biblioteca.MenuItems;

import com.twu.biblioteca.Session;
import com.twu.biblioteca.UserAccount;

public class LoginMenuItem extends MenuItem{

    public LoginMenuItem() {
        description = "Login";
    }

    @Override
    public boolean controller(UserAccount sessionUser) {

        int attempts = 2;
        Session session = new Session();
        session.login(sessionUser,attempts);
        return false;
    }

}
